package dongnv.poweramp.screen;

import dongnv.poweramp.R;
import dongnv.poweramp.activity.HomeActivity;
import dongnv.poweramp.data.ListFolderAdapter;
import dongnv.poweramp.data.ListSongAdapter;
import android.content.Context;
import android.view.View;
import android.widget.ListView;
import android.widget.RelativeLayout;

public class ListFolderScreen {
	public ListFolderScreen(Context context, ListFolderAdapter listFolderAdapter) {
		this.context = context;
		view = View.inflate(context, R.layout.list_folder, null);
		container = (RelativeLayout) view.findViewById(R.id.containerFolder);
		listFolder = new ListView(context);
		listFolder.setAdapter(listFolderAdapter);
		container.addView(listFolder); 
	}
	
	public View getView() {
		return view;
	}
	public ListView getListFolder() {
		return listFolder;
	}

	public void setListFolder(ListView listFolder) {
		this.listFolder = listFolder;
	}
	private View view;
	private Context context;
	private ListView listFolder;
	private RelativeLayout container;
}
